package com.example.springtest.teacher.service;

import com.example.springtest.teacher.pojo.Teacher;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public interface TeacherService {

    List<Teacher> getTeacherList();

    void addTeacher(Teacher teacher);

    void deleteTeacher(Integer id);

    void editTeacher(Integer id, Teacher teacher);
}
